﻿using nplJobsCommon.JobSeeker;
using nplJobsDAL.Delete;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace nplJobsBLL.ProcessJobSeeker
{
    public class ProcessDeleteJobSeekerSavedJobs : IBusinessLogic
    {
        public bool IsDeleted { get; set; }
        public ProcessDeleteJobSeekerSavedJobs() { }
        public DataTable SavedJobToDisplay { get; set; }
        public void invoke()
        {
            DeleteSavedJob deleteSavedJob = new DeleteSavedJob();
            deleteSavedJob.SavedJobToDisplay = this.SavedJobToDisplay;
            deleteSavedJob.invoke();
            IsDeleted = deleteSavedJob.IsDeleted;
        }
    }
}
